package com.itheima.service.impl;

import com.itheima.dao.UserDao;
import com.itheima.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    public UserServiceImpl(){
        System.out.println("userServiceImpl ..................");
    }

    public void save() {
        System.out.println("user service running...");
    }

    public void init(){
        System.out.println("user servier init...");
    }

    public void destroy(){
        System.out.println("user servier destroy...");
    }

}
